#ifndef __USART_H
#define __USART_H

#include "public_lib.h"

typedef void (*usart_callback)(char data);

int getchar_noblck(int uart_id, char*data);
int putchar_noblck(int uart_id, char data);
int put_string(int uart_id, char* string);
int uart_init(int uart_id, u32 bound, int use_queue, usart_callback cb);

#endif


